package cn.k.service;

import cn.k.domain.ConsumptionItem;
import cn.k.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IConsumptionItemService {
    void insert(ConsumptionItem consumptionItem);

    void delete(Long id);

    void update(ConsumptionItem consumptionItem);

    ConsumptionItem get(Long id);

    List<ConsumptionItem> selectAll();

    List<ConsumptionItem> selectForList(QueryObject qo);

    List<ConsumptionItem> queryByCno(String cno);

    // PageInfo<ConsumptionItem> query(QueryObject qo);
}
